angular.module('ionicApp', ['ionic', 'ionicApp.services', 'ionicApp.diary', 'ionicApp.contact', 'ionicApp.setting', 'ionicApp.router', 'ionicApp.directive'])

.controller('Main', function($scope, $state) {
    $state.go('contact');

    $scope.page = "contact";
    $scope.method = {
        curPage: function(page) {
            $scope.page = page;
        }
    }
});
